package cn.wolfcode.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter@Setter
public class CustomerTraceHistory {

    private Long id;

    //当前端传来的日期字符串，要按照格式转换成时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date traceTime;
    //跟进内容
    private String traceDetails;

//    private Long traceTypeId;
    //跟进方式
    private SystemDictionaryItem traceType;
    //跟进结果
    private Integer traceResult;

    private String remark;

//    private Long customerId;
    //客户
    private Customer customer;

//    private Long inputUserId;
    //录入人
    private Employee inputUser;

    private Date inputTime;

    private Integer type;

}